feat: show initials when avatar image is unavailable#192
Conversation
|
Hi @nensii21, I've completed the implementation for Issue #140 and submitted a dedicated Pull Request. The avatar now gracefully falls back to user initials when the profile image is unavailable, missing, empty, null, or fails to load. I've also manually tested the implementation and included screenshots in the PR. I'd appreciate it if you could review it when you have time. Thank you! |
|
Some of the required CI checks is currently failing. Please take a look at the workflow logs, identify the cause, and push a fix. Once all required checks pass, I'll review and proceed with the PR. |
|
Hi @nensii21, I investigated the remaining The implementation for this PR is complete, and all other required checks (Backend CI, Frontend CI, CodeQL, Security, etc.) are passing successfully. I have already starred the upstream repository ( I also looked into the Because this same Could you please take a look at the Thank you! |
Summary
This PR implements a fallback for user avatars by displaying user initials whenever the profile image is unavailable, missing, empty, null, or fails to load.
The implementation is integrated into the shared Avatar component, ensuring consistent behavior across the application while preserving the existing UI and functionality.
Closes #140
Changes Made
Type of Change
Testing
Manually Verified
?.Verified Locations
Build Verification
npm run buildcompleted successfully.Screenshots
After (Profile Image Unavailable → Initials Fallback)
Before (Valid Profile Image)
Checklist